package com.helloUIBinder;

import java.io.FileInputStream;
import java.util.Properties;

public class ServerPropertiesLoader {
    private static Properties prop = new Properties();


    public static String getValueByKey(String key){
        try {
            prop.load(new FileInputStream("ServerConstants.properties"));
            return (String)prop.get(key);
        } catch (Exception ex) {
            ex.printStackTrace();
            return null;
        }
    }
    
}
